{% extends 'base.html.twig' %}

{% block body %}
<ul>
{% for category in categories %}
<li>
<a href="{{path('admin_category_show',{id:category.id})}}">{{category.title}}</a>
</li>
{% endfor %}
</ul>
<a href="{{ path('admin_category_create') }}">添加分类</a>

{% endblock %}
